import service from '@/utils/request'

export const loginApi = (data) => {
  return service.post('/sys/login', data)
}

export const getUserMessageApi = () => {
  return service.get('/sys/profile')
}

export const updateUserPasswordAPI = (data) => {
  return service.put('/sys/user/updatePass', data)
}
